package com.ruicar.afs.cloud.common.modules.dto.mq.approveprev;

import com.alibaba.fastjson.annotation.JSONField;
import com.ruicar.afs.cloud.common.modules.dto.mq.approve.ComAttachmentFileDto;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Description 预审批申请
 * @Author Peng Jinbo
 * @Date 2020/08/08 10:38
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ApprovePrevInfoDto implements Serializable {

    /**
     * Apply id
     * 进件端预审批唯一标识
     */
    @JSONField(name = "applyId")
    private String applyId;

    /**
     * Customer name
     * 客户姓名
     */
    @JSONField(name = "customerName")
    private String customerName;

    /**
     * Phone
     * 电话
     */
    @JSONField(name = "phone")
    private String phone;

    /**
     * Cert no
     * 证件号码
     */
    @JSONField(name = "certNo")
    private String certNo;

    /**
     * Cert type
     * 证件类型
     */
    @JSONField(name = "certType")
    private String certType;

    /**
     * Cert start date
     * 证件有效期起
     */
    @JSONField(name = "certStartDate", format = "yyyy-MM-dd HH:mm:ss")
    private Date certStartDate;

    /**
     * Cert end date
     * 证件有效期止
     */
    @JSONField(name = "certEndDate", format = "yyyy-MM-dd HH:mm:ss")
    private Date certEndDate;

    /**
     * Channel code
     * 渠道编码
     */
    @JSONField(name = "channelCode")
    private String channelCode;

    /**
     * Channel name
     * 渠道名称
     */
    @JSONField(name = "channelName")
    private String channelName;

    /**
     * Seller name
     * 销售人员用户名
     */
    @JSONField(name = "sellerName")
    private String sellerName;

    /**
     * Seller real name
     * 销售人员真实姓名
     */
    @JSONField(name = "sellerRealName")
    private String sellerRealName;

    /**
     * Apply date
     * 申请日期
     */
    @JSONField(name = "applyDate", format = "yyyy-MM-dd HH:mm:ss")
    private Date applyDate;

    /**
     * 业务类型
     */
    @JSONField(name = "businessType")
    private String businessType;

    /**
     * Sex
     * 性别
     */
    @JSONField(name = "sex")
    private String sex;

    /**
     * Birthday
     * 生日
     */
    @JSONField(name = "birthday", format = "yyyy-MM-dd HH:mm:ss")
    private Date birthday;

    /**
     * Seller phone
     * 销售电话
     */
    @JSONField(name = "sellerPhone")
    private String sellerPhone;

    /**
     * 申请编号
     */
    @JSONField(name = "applyNo")
    private String applyNo;

    /**
     * 文件dto
     */
    @JSONField(name = "comAttachmentFileDtoList")
    private List<ComAttachmentFileDto> comAttachmentFileDtoList;
}
